<template>
  <div class="introduction">
    <Headers></Headers>
    <div class="main">
      <div class="banner">
        <img src="../../../static/home/about-banner.png" alt="">
        <div class="w1200 clear">
          <div class="title-left">
            <p>企业介绍</p>
          </div>
          <div class="title-right">
            <router-link to="/introduction/about" active-class="active">企业介绍</router-link>
            <router-link to="/introduction/introduce" active-class="active">联系方式</router-link>
          </div>
        </div>
      </div>
      <div class="w1200">
        <router-view></router-view>
      </div>
    </div>
    <Foots></Foots>
  </div>
</template>

<script>
import Headers from '../../components/Headers'
import Foots from '../../components/Foots'
export default {
  name: 'introduction',
  components: {
    Headers: Headers,
    Foots: Foots
  }
}
</script>

<style scoped lang="less">
.introduction{
  .main{
    .banner{
      position: relative;
      img{
        display: block;
        margin: 0 auto;
        max-width: 100%;
      }
      .w1200{
        width: 1200px;
        margin: 0 auto;
        height: 65px;
        background: rgba(76, 140, 220, 0.8);
        position: absolute;
        bottom: 0;
        left: 50%;
        margin-left: -600px;
        .title-left{
          float: left;
          height: 65px;
          line-height: 65px;
          margin-left: 51px;
          p{
            font-size: 18px;
            color: #ffffff;
            font-weight: bold;
            font-family: "Microsoft YaHei";
          }
        }
        .title-right{
          float: right;
          height: 65px;
          line-height: 65px;
          a{
            font-size: 14px;
            color: #ffffff;
            font-family: "Microsoft YaHei";
            margin-right: 46px;
            padding-bottom: 10px;
            &.active{
              border-bottom: 2px solid #fff;
            }
          }
        }
      }
    }
  }
}
</style>